﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class Class1
    {
        //自动属性
        public int Id { get; set; }
        public string name { get; set; }

        public void dw() 
        {
            Console.WriteLine("我的身份证号码是{0}，名字是{1}。",this.Id,this.name);
        }
    }
}
